package com.three.dao;

import com.three.domain.Logs;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface LogsDao {
    public int PageCount();
    //分页查询
    public List<Logs> logsList(@Param("id") Integer id, @Param("pageIndex") Integer pageIndex, @Param("pageSize") Integer pageSize);
    //添加
    public int addLogs(Logs logs);



    int PageCountLogs(@Param("pageIndex")Integer pageIndex, @Param("pageSize")Integer pageSize);

    List<Logs> LogsListByStudent(@Param("pageIndex")Integer pageIndex, @Param("pageSize")Integer pageSize);



    void updateLog(Logs log);  // 新增方法
}
